<ul id="dhtmlgoodies_tree">
<?
	echo $contents;
 ?>
</ul>
<a href="#" onclick="expandAll();return false">abrir todos</a>